<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>classroom</title>
    <%@include file="/static/common/commonHead.jsp"%>
    <script type="text/javascript" src="/static/js/classroom/classroom.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">增加</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="watch">查看</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="btn_changeState" data-cmd="changeState">设置教室状态</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadList">刷新</a>
    <input class="easyui-textbox" id="keyword" name="keyword" prompt="名称/地址/座位数"/>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchs"></a>
</div>

<%--表格--%>
<table id="entity_list"></table>

<%--编辑页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 45px">
            <input type="hidden" name="id"/>
            <tr>
                <td>教室名称</td>
                <td>
                    <input class="easyui-textbox" name="name" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>教室地址</td>
                <td>
                    <input class="easyui-textbox" name="address" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>教室座位数</td>
                <td>
                    <input class="easyui-textbox" name="size" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>教室标语</td>
                <td>
                    <input class="easyui-textbox" name="sign">
                </td>
            </tr>
        </table>
    </form>
</div>


<%--&lt;%&ndash;查看页面&ndash;%&gt;
<div id="watch_dialog" align="center" style="margin-top: 20px">
    <table id="watch_datagrid">
            <td>班级编号</td>
            <td>
                <input class="easyui-textbox" name="name" data-options="required:true">
            </td>
        <tr>
            <td>班级名称</td>
            <td>
                <input class="easyui-textbox" name="name" data-options="required:true">
            </td>
        </tr>
        <tr>
            <td>学生数量</td>
            <td>
                <input class="easyui-textbox" name="address" data-options="required:true">
            </td>
        </tr>
        <tr>
            <td>所在学院</td>
            <td>
                <input class="easyui-textbox" name="size" data-options="required:true">
            </td>
        </tr>
        <tr>
            <td>班级状态</td>
            <td>
                <input class="easyui-textbox" name="sign">
            </td>
        </tr>
        <tr>
            <td>班主任</td>
            <td>
                <input class="easyui-textbox" name="sign">
            </td>
        </tr>
    </table>
</div>--%>
</body>
</html>
